$ ALL_RPMS_DIR/$ name-$ version *"
Fi
Else
Echo "cp $ ALL_RPMS_DIR/$ name-$ version * $ LT_RPMS_DIR /"
Cp $ ALL_RPMS_DIR/$ name-$ version * $ LT_RPMS_DIR/
# In case the copy failed
If [$? -Ne 0]; then
Echo "cp $ ALL_RPMS_DIR/$ name-$ version *"
Cp $ ALL_RPMS_DIR/$ name * $ LT_RPMS_DIR/
Fi
Fi
I = 'expr $ I + 1'
Done
Execute sh rpm. sh
You can copy the required package to/data/cdrom/CentOS.
Copy other CD files to/data/cdrom/CenOS
Run rsync-avpz-exclu
安装linux的时候需要人机交互,如果一次安装几台那就要耗费很多精力,莫不如把每次要做的设置写在配置文件里,一键安装,省时省力。Here we only introduce the use of CD-ROM for automatic installation.Unattended installation The first thing we think about is kickstart software, so what is kickstart?Kickstart is an unattended installation method. It works by documenting typical parameters that require manual intervention during the installation process and generating a file n
Custom centos 6.5 automatic installation CD
I. Prepare the production environmentLab environment:VMware WorkstationCentOS-6.5-x86_64-minimal minimal installationAfter installation, we will use the install. log and anaconda-ks.cfg files under the system/root directory (which is easier to modify)
1. CD directory structure
* The isolinux directory stores the install
How to create a fully automatic installation CD for CentOS 7.0
How to create a fully automatic installation CD for CentOS 7.0
1. Copy the CD File
1) attach an iso Image
Create a directory for attaching a CD:Mkdir/root/centos7
Mounting an iso ImageCentOS-7.0-1406-x86_64-DVD.i
In the XP system, if you insert a mobile device, such as a USB flash drive or a mobile hard disk, the system will automatically search for media files and play back the files. If you want to disable the automatic playback function of Windows XP at one time, follow these steps:
1. Click Start> Run. In the open box, type gpedit. MSC and click OK to open the Group Policy window;
2. In the left pane, under "Local Computer Policy", expand "Computer Confi
CENTOS7 fully automatic installation CD making detailed1 copying disc files1) Mount ISO imageTo create a directory for mounting discs:Mkdir/root/centos7Mount ISO imageMount-o Loop Centos-7.0-1406-x86_64-dvd.iso/root/centos72) Copy the disc file to the edit directory for editingbecause the mount on the ISO image is read-only, if you want to edit it, you need to copy and edit the file. First create the Edit d
CENTOS7 fully automatic installation CD making detailed1 Copying disc files1) Mount ISO imageTo create a directory for mounting discs:Perl ">mkdir/root/centos7Mount ISO ImageMount-o Loop Centos-7.0-1406-x86_64-dvd.iso/root/centos72) Copy the disc file to the edit directory for editingBecause the mount on the ISO image is read-only, if you want to edit it, you need to copy and edit the file.First create the
= 'echo $ line | awk' {print $1 }''
Version = 'echo $ line | awk' {print $3} '| cut-f 2-d :'
If [$ DEBUG-eq "1"]; then
Echo $ I: $ line
Echo $ name
Echo $ version
Fi
If [$ DEBUG-eq "1"]; then
Ls $ ALL_RPMS_DIR/$ name-$ version *
If [$? -Ne 0]; then
Echo "cp $ ALL_RPMS_DIR/$ name-$ version *"
Fi
Else
Echo "cp $ ALL_RPMS_DIR/$ name-$ version * $ LT_RPMS_DIR /"
Cp $ ALL_RPMS_DIR/$ name-$ version * $ LT_RPMS_DIR/
# In case the copy failed
If [$? -Ne 0]; then
Echo "cp $ ALL_RPMS_DIR/$ name-$ version
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.